package locations.actions;

import locations.model.TipoPractica;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

public class NewPracticeTypeAction extends ActionSupport implements ModelDriven<TipoPractica> 
{
    private static final long serialVersionUID = -8124967730231198191L;
    private TipoPractica practiceType = new TipoPractica();
    private String pageTitle = "Editar tipo de practica";

    public String execute()
    {
        return SUCCESS;
    }

    public TipoPractica getPracticeType()
    {
        return practiceType;
    }

    public void setPracticeType(TipoPractica practiceType)
    {
        this.practiceType = practiceType;
    }

    @Override
    public TipoPractica getModel()
    {
        return this.practiceType;
    }
}